package xyz.xtt.equity.api.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author dale
 * @date 2025/2/10
 **/
@Data
@Valid
public class SaveBenefitPurchaseUnPayDto {
    @NotNull
    private Long recordId;

    /** 销售包ID */
    @NotNull
    private Long packageId;

    /** 购买数量 */
    @Positive
    private Integer purchaseNum;

    /** 单价 */
    @NotNull
    private BigDecimal unitPrice;
}
